using System;

namespace SolarWinds.Widgets
{
    public class FocusEvent : EventArgs
    {
        private readonly Widget mOldFocus;
        private readonly Widget mNewFocus;

        public Widget OldFocus
        {
            get { return mOldFocus; }
        }

        public Widget NewFocus
        {
            get { return mNewFocus; }
        }

        public FocusEvent(Widget oldFocus, Widget newFocus)
        {
            mOldFocus = oldFocus;
            mNewFocus = newFocus;
        }
    }
}